package net.wanho.shop.service;

import com.github.pagehelper.PageInfo;
import net.wanho.shop.po.Category;

import java.io.Serializable;

/**
 * <p>
 * 分类表 服务类
 * </p>
 *
 * @author 猛虎王
 * @since 2024-12-24
 */
public interface CategoryService {
    PageInfo findPage(int pageNum, int pageSize, Category category);

    Category findById(Serializable catId);

    void add(Category category);

    void modify(Category category);

    void removeById(Integer catId);

    Object find(Integer pageNum, Integer pageSize, Integer type);

    void modifyByCatId(Category category, Integer catId);
}
